old_protocol = "8" # Backward compat. with old numbering scheme.
old_script = "8004"
</header>
<description>
≤GB≥Post Office Protocol Version 3≤P≥
The protocol used to access email messages from a central maildrop server, as defined in ≤U2≥RFC 1939≤P0≥. The default TCP port number for POP3 connections is port 110.
This probe simply verifies that the server send "+OK" as its initial greeting, and then sends the QUIT command.
</description>
<parameters>
-- No parameters.
</parameters>
<script>
CONN #60 (connect timeout in secs)
WAIT #30 @IDLE (idle timeout in secs)
MTCH "+OK"i else goto @UNEXPECTED_GREETING
SEND "QUIT\r\n"
EXPT "+OK" #+1
DONE OKAY
@UNEXPECTED_GREETING:
DONE DOWN "[POP3] Unexpected greeting from port ${_REMOTEPORT}. (${_LINE:50})"
@IDLE:
DONE DOWN "[POP3] No data for ${_IDLETIMEOUT} seconds. Was expecting \"${_STRINGTOMATCH}\". [Line ${_IDLELINE}]"